package users

import "go_auth/models/users"

type Role struct {
	users.Role
}

/**
增删改查
*/

func (r *Role) FindRoles() interface{} {
	return users.FindRoles()
}

func (r *Role) AddRole() int64 {

	return r.Role.AddRole()
}

func (r *Role) DeleteRole() int64 {

	return r.Role.DeleteRole()
}
func (r *Role) UpdateRole() int64 {

	return r.Role.UpdateRole()
}
